package com.example.pojo;
import java.util.Date;
public class User {
    private Long id;             // 用户ID
    private String nickname;     // 昵称
    private String password;     // 密码
    private String phone;        // 手机号
    private Date createTime;     // 创建时间
    private Date updateTime;     // 更新时间
    private Integer isDeleted;   // 是否删除(0:未删除,1:已删除)

    public User(Long id, String nickname, String password, String phone, Date createTime, Date updateTime, Integer isDeleted) {
        this.id = id;
        this.nickname = nickname;
        this.password = password;
        this.phone = phone;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDeleted = isDeleted;
    }
    public User() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
}